package com.wjh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wjh.pojo.LeaveApply;
import com.wjh.utils.ResponseResult;

import java.util.List;


/**
 * (LeaveApply)表服务接口
 *
 * @author makejava
 * @since 2024-03-21 20:17:55
 */
public interface LeaveApplyService extends IService<LeaveApply> {

    ResponseResult queryLeaveList(Integer pageNum, Integer pageSize, Integer isRatify, Integer leaveType, String name, Integer ratifyType,Integer state);

    ResponseResult ratifyLeave(LeaveApply leaveApply);

    ResponseResult delLeaveByIds(List<Integer> id);
}
